package org.lion.jingbeifang_interviewquestions.calculatePrice.enums;

import java.math.BigDecimal;

public enum GoodsItem
{
    APPLE(new BigDecimal("8.00")),
    STRAWBERRY(new BigDecimal("13.00")),
    MANGO(new BigDecimal("20.00"));

    private final BigDecimal price;
    GoodsItem(BigDecimal price) {
        this.price = price;
    }
    public BigDecimal getPrice() {
        return price;
    }

}
